package com.yidu.drug.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yidu.drug.common.Page;
import com.yidu.drug.model.DrugRoleModel;

public interface DrugRoleModelMapper {
    int deleteByPrimaryKey(String roleId);

    int insert(DrugRoleModel record);

    int insertSelective(DrugRoleModel record);

    DrugRoleModel selectByPrimaryKey(String roleId);

    int updateByPrimaryKeySelective(DrugRoleModel record);

    int updateByPrimaryKey(DrugRoleModel record);

	List<DrugRoleModel> findAll(@Param("role")DrugRoleModel po, @Param("page")Page page);

	int findRow(DrugRoleModel po);

	List<DrugRoleModel> selectAll();

}